package com.mall;

public class Goods {

	private String name;
	private double price;
	private Enum<GoodsCategory> item;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public Enum<GoodsCategory> getItem() {
		return item;
	}
	public void setItem(Enum<GoodsCategory> item) {
		this.item = item;
	}
	public Goods(String name, double price) {
		super();
		this.name = name;
		this.price = price;
		this.item = Store.getCategory(name);
	}
	public Goods() {
		super();
	}
	
	
}
